<?php
	$this->load->view("laporan/lap_peternakan/chart_pertambahan_pengurangan.php");
	$this->load->view("laporan/lap_peternakan/chart_distribusi.php");
	$this->load->view("laporan/lap_peternakan/chart_stok.php" /*$data1*/);
?>
<script>
	$(document).ready(function(){
		drawChartPP();
		<?php 
			foreach ($kota->result_array() as $row){
				echo "
						drawChartDist('".$row['ID_KOTA']."');
						drawChartStock('".$row['ID_KOTA']."');
					";
				break;
			}
		?>
		
	});
</script>